<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="jquery-3.3.1.min.js"></script>
    <script src="calendar.js"></script>
    <script type="text/javascript" language="JavaScript">
        $(document).ready(function () {
            var cal = $("#box").MyCalendar({"showLunar":true, "showHoliday":true});
            console.log("cal",cal);
            cal.ChangeTd([{"day":"2018-8-12", "islunar" : false, "htmlDom" : "<div class='d1'><p>这是替换的</p><div>",
                 "cssStyle" : {".d1 p":{"color":"red"}}},
                {"day":"2018-8-14", "islunar" : false, "htmlDom" : "<div class='d1'><p>这是替换的22</p><div>",
                     "cssStyle" : {".d1 p":{"color":"red"}}}
                ]);
        });
    </script>
    <link rel="stylesheet" href="style.css">
</head>
<body>
<div id="box"></div>
</body>
</html>
